<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<link rel="stylesheet" href="__PUBLIC__/css/inc.css" />
	<link rel="stylesheet" href="__PUBLIC__/css/ico.css" />
	<jquery/>
	<script type="text/javascript" src='__PUBLIC__/js/extend.js'></script>
	<script type="text/javascript" src='__CONTROL_TPL__/js/js.js'></script>
	<title>修改用户资料</title>
</head>
<body class="bgwhite-1">
	<div class="Menu">
		<a href="{|U:'index'}"><i class="icon-user mr3 gray"></i>用户管理</a>
		<a class="act"><i class="icon-edit mr3 gray"></i>修改用户</a>
	</div>
<form action="" method="post">
	<input type="hidden" name='uid' value='{$field.uid}' />
	<div class="p10">
		<table class="table form">
			<if value="{$hd.session.user.level eq 9}">
				<tr class='fm f14'>
					<td class="tr f14 fm pct25"><span class="pr10">新密码</span></td>
					<td><input class="pct30" type="password" name="pwd"  /></td>
				</tr>
				<tr class='fm f14'>
					<td class="tr f14 fm pct25"><span class="pr10">昵称</span></td>
					<td><input class="pct30" type="text" name="nickname" value="{$field.nickname}" /></td>
				</tr>
			
				<tr class='fm f14'>
					<td class="tr f14 fm pct25"><span class="pr10">级别</span></td>
					<td>
						<label for="l1">
							<input id="l1" class="vm" type="radio" name="level" value="0" <if value="{$field.level eq 0}">checked="1"</if> /> 普通用户
						</label>
						<label for="l2">
							<input id="l2" class="vm" type="radio" name="level" value="1" <if value="{$field.level eq 1}">checked="1"</if>  /> 管理员
						</label>
					</td>
				</tr>
			<else/>
				<if value="{$field.level neq 9}">
					<tr class='fm f14'>
						<td class="tr f14 fm pct25"><span class="pr10">新密码</span></td>
						<td><input class="pct30" type="password" name="pwd"  /></td>
					</tr>
				</if>
				<tr class='fm f14'>
					<td class="tr f14 fm pct25"><span class="pr10">昵称</span></td>
					<td><input class="pct30" type="text" name="nickname" value="{$field.nickname}" /></td>
				</tr>
			</if>
		</table>
	</div>
	<div class="fixBottom">
		<p class="p5 tc"><input type="submit" class="btn bgblack f20" value='确定操作' /></p>
	</div>
</form>
</body>
</html>